<form action="{:U()}" method="post" class="layui-form layui-box layui-form-pane"
<if condition="!$info">data-option="{callback:reloadTable}"</if>
      ajaxSubmit>
    <if condition="$parent">
        <include file="add-parent" />
    <else/>
        <include file="add-comm" />
    </if>
<icy8:formItem label="">
    <icy8:button title="保存"/>
    <icy8:button title="取消" click="ICY8.closeThisDialog(this)" btnType="primary" type="button"/>
</icy8:formItem>
</form>
<script type="text/javascript">
    function reloadTable(data) {
        if (data.status == 1) {
            setTimeout(function () {
                layui.layer.closeAll();
                layui.table.reload('dataTable');
            }, 1600);
        }
    }
</script>